projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc625c
)
core: Use g_io_error_from_errno() to ensure we have more useful error codes
author
Colin Walters
<walters@verbum.org>
Fri, 2 Dec 2011 16:39:21 +0000
(11:39 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 2 Dec 2011 16:40:06 +0000
(11:40 -0500)
src/libotutil/ot-unix-utils.c
patch
|
blob
|
history
diff --git
a/src/libotutil/ot-unix-utils.c
b/src/libotutil/ot-unix-utils.c
index 2a2697f8921398e38721383618fa47c2ee741c0b..7b709ff98f218afee9c23366e81b0eaf8bf2c621 100644
(file)
--- a/
src/libotutil/ot-unix-utils.c
+++ b/
src/libotutil/ot-unix-utils.c
@@
-233,7
+233,7
@@
ot_util_set_error_from_errno (GError **error,
{
g_set_error_literal (error,
G_IO_ERROR,
-
0
,
+
g_io_error_from_errno (saved_errno)
,
g_strerror (saved_errno));
errno = saved_errno;
}